Frame Class Reference

#include <Frame.h>

List of all members.

Public Member Functions

 Frame (int id)
void deleteContents ()
osg::ref_ptr< osg::Group > getRoot ()
int getFrameId (void)

Private Attributes

int frameID
osg::ref_ptr< osg::Group > sgRoot


Detailed Description

A Frame class.This class is used for holding information of a keyframe.


Constructor & Destructor Documentation

Frame::Frame (  int  id  ) 
 

A constructor. Initializes sgRoot and frameID variables.

Parameters:
id an integer argument.


Member Function Documentation

void Frame::deleteContents (   ) 
 

delete all the content of the scene root.

int Frame::getFrameId (  void   ) 
 

returns id of the keyframe.

Returns:
The frameID variable

osg::ref_ptr<osg::Group> Frame::getRoot (   ) 
 

returns reference to the sgRoot.

Returns:
The sgRoot variable


Member Data Documentation

int Frame::frameID [private]
 

a private variable. It holds id of the keyframe.

osg::ref_ptr<osg::Group> Frame::sgRoot [private]
 

a private variable. It holds scene root of the keyframe.


The documentation for this class was generated from the following file:
Generated on Sun May 28 18:44:00 2006 by  doxygen 1.4.6-NO